package com.yuyou.tas.feedback.mapper;

import com.yuyou.tas.service.api.feedback.dto.ExceStudentDTO;
import com.yuyou.tas.service.api.feedback.entity.FeedbackStudentExce;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface FeedbackStudentExceMapper {
    int deleteByPrimaryKey(Long id);

    int insert(FeedbackStudentExce record);

    FeedbackStudentExce selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(FeedbackStudentExce record);

    void delByStudentFeedClass(@Param(value = "feedbackClassId") Long feedbackClassId , @Param(value = "studentId") Long studentId);

    List<FeedbackStudentExce> getByFeedbackClassId(@Param(value = "feedbackClassId") Long feedbackClassId);

    List<ExceStudentDTO> findExceStudentByFeedbackClassId(@Param(value = "feedbackClassId") Long feedbackClassId);
}